//package com.cloudbroker.bcs.platform.ltb.common.payUtil.web;
//
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import java.io.BufferedReader;
//import java.io.InputStream;
//import java.io.InputStreamReader;
//
//@Controller
//public class FundOrderTestAction {
//
//	/**
//	 * @throws Exception
//	 * @Method testSuccess
//	 * @Description 模拟商户端收到云融惠付异步通知返回success
//	 * @param @field
//	 * @return String
//	 * @throws
//	 */
//	@RequestMapping("/test/success")
//	public void testSuccess(HttpServletRequest request, HttpServletResponse response) throws Exception {
//
//		InputStream io = request.getInputStream ();
//		StringBuffer buffer = new StringBuffer ();
//		BufferedReader in = new BufferedReader (new InputStreamReader (io, "utf-8"));
//		String line = "";
//		while ((line = in.readLine ()) != null) {
//			buffer.append (line).append ("\n");
//		}
//		System.out.println("收到请求信息：" + buffer.toString ());
//		response.getWriter ().write ("success");
//	}
//
//	/**
//	 * @throws Exception
//	 * @Method testFail
//	 * @Description 模拟商户端收到云融惠付异步通知返回fail
//	 * @param @field
//	 * @return String
//	 * @throws
//	 */
//	@RequestMapping("/test/fail")
//	public void testFail(HttpServletRequest request, HttpServletResponse response) throws Exception {
//		InputStream io = request.getInputStream ();
//		StringBuffer buffer = new StringBuffer ();
//		BufferedReader in = new BufferedReader (new InputStreamReader (io, "utf-8"));
//		String line = "";
//		while ((line = in.readLine ()) != null) {
//			buffer.append (line).append ("\n");
//		}
//		System.out.println("收到请求信息：" + buffer.toString ());
//		response.getWriter ().write ("fail");
//	}
//}
